﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JHErp.Domain
{
    public class ERPContext:DbContext
    {
        public ERPContext() : base("server=127.0.0.1;database=JHERP;uid=sa;pwd=123")
        {}

        public DbSet<AlipayRecord> AlipayRecords { get; set; }//支付宝记录
        public DbSet<AlibabaOrder> AlibabaOrders { get; set; }//阿里订单
        public DbSet<TaobaoOrder> TaobaoOrders { get; set; }//淘宝订单
    }
}
